<?php

namespace catchAdmin\apidoctor\validate;

use think\Validate;

class SfglValidate extends Validate
{
    protected $rule = [
        'patientId' => 'require',
        'doctor_code' => 'require'
    ];

    protected $message = [
        'patientId.require' => '缺少patientId参数',
        'doctor_code.require' => '缺少doctor_code参数'
    ];

    protected $scene = [
        'get_sfgl_sfbd' => ['patientId'],
        'get_sfgl_jkxj' => ['patientId'],
        'get_ysd_message_list' => ['doctor_code'],
    ];  
}